package com.gxa.entity.asset;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:37:51
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_equipment")
@ApiModel(value = "Equipment对象", description = "")
public class Equipment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("设备台账的主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("设备编码")
    @TableField("equipment_coding")
    private String equipmentCoding;

    @ApiModelProperty("设备名称")
    @TableField("device_name")
    private String deviceName;

    @ApiModelProperty("所属系统")
    @TableField("of_sys")
    private String ofSys;

    @ApiModelProperty("设备类型")
    @TableField("equipment_type")
    private String equipmentType;

    @ApiModelProperty("厂家")
    @TableField("manufacturers")
    private String manufacturers;

    @ApiModelProperty("厂家编码 ")
    @TableField("manufacturers_coding")
    private String manufacturersCoding;

    @ApiModelProperty("安装位置")
    @TableField("installation_site")
    private String installationSite;

    @ApiModelProperty("使用日期")
    @TableField("start_date")
    private Date startDate;

    @ApiModelProperty("负责部门")
    @TableField("equipment_dep")
    private String equipmentDep;

    @ApiModelProperty("负责人员")
    @TableField("equipment_principal")
    private String equipmentPrincipal;

    @ApiModelProperty("设备价值")
    @TableField("equipment_value")
    private Double equipmentValue;

    @ApiModelProperty("设备型号")
    @TableField("equipment_model")
    private String equipmentModel;

    @ApiModelProperty("设备品牌")
    @TableField("equipment_brand")
    private String equipmentBrand;

    @ApiModelProperty("购入日期")
    @TableField("purchase_date")
    private Date purchaseDate;

    @TableLogic
    @TableField("is_delete")
    private Integer isDelete;


}
